package com.lysj.website.website.service;

import com.lysj.website.common.spring.base.BaseService;
import com.lysj.website.website.domain.Website;
import com.lysj.website.website.repository.WebsiteRepository;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import javax.transaction.Transactional;

/**
 * @ Author ：drj.
 * @ Date  ：Created in 15:24 2019/10/25
 * @ Description:
 **/
@Slf4j
@Service
@Transactional
public class WebsiteService implements BaseService<Website> {

    @Resource
    private WebsiteRepository websiteRepository;

    @Override
    public WebsiteRepository getRepository() {
        return websiteRepository;
    }
}
